From: Giuseppe Scrivano Date: Wed, 22 Oct 2014 16:06:29 +0000 (+0200) Subject: fsck: report the correct error when a present file cannot be loaded X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~1080 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=0785c398b0531e8c66fd9d9263495d125221893a;p=ostree.git fsck: report the correct error when a present file cannot be loaded Signed-off-by: Giuseppe Scrivano --- diff --git a/src/ostree/ot-builtin-fsck.c b/src/ostree/ot-builtin-fsck.c index afd1b548..79bb5f2b 100644 --- a/src/ostree/ot-builtin-fsck.c +++ b/src/ostree/ot-builtin-fsck.c @@ -118,6 +118,7 @@ load_and_fsck_one_object (OstreeRepo *repo, } else { + *error = temp_error; g_prefix_error (error, "Loading file object %s: ", checksum); goto out; }